package com.banmoon.datastructure.HuffmanTree;

public class Test {

    public static void main(String[] args) {
        int[] arr = new int[]{3, 7, 8, 29, 5, 11, 23, 14};
        HuffmanTree huffmanTree = HuffmanTree.generateHuffmanTree(arr);
        huffmanTree.show();
    }

}
